package com.ruoyi.training.service;

import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.training.domain.ExamSchedule;
import com.ruoyi.examination.dto.ExamPaperInfoDto;
import com.ruoyi.examination.dto.ExaminationResultDto;
import com.ruoyi.examination.vo.ExaminationResultVo;

public interface IExaminationControlService {
    /**
     * 获取试卷信息
     * @param trainingClassId
     * @return
     */
    public ExamPaperInfoDto getClassExam(String trainingClassId);

    /**
     * 保存考试结果
     * @param examinationResultVo
     * @return
     */
    public ExaminationResultDto saveExamResult(ExaminationResultVo examinationResultVo);

    /**
     * 生成试卷
     * @param examSchedule
     * @return
     */
    public int generatedPaper(ExamSchedule examSchedule);
}
